package com.example.fms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.fms.dto.req.OrdersReqDto;
import com.example.fms.dto.resp.GoodsRespDto;
import com.example.fms.dto.resp.OrdersRespDto;
import com.example.fms.entity.Orders;
import com.example.fms.entity.Right;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrdersMapper  extends BaseMapper<Orders> {
    List<OrdersRespDto> getOrdersPage(Page<OrdersRespDto> page, @Param("req") OrdersReqDto req);
}
